package net.realsee.common.enums.wcs.order;

/**
 * 单据状态（小状态）
 *
 * @author 孙正华
 * @since 2023/8/25 10:05
 */
public enum OrderProcessStatusEnum {

    _1010010(1010010L, "新增"),
    _1010020(1010020L, "开始处理"),
    _1010030(1010030L, "请求取料"),
    _1010040(1010040L, "允许取料"),
    _1010050(1010050L, "取料完成"),
    _1010060(1010060L, "送料中"),
    _1010070(1010070L, "请求放料"),
    _1010080(1010080L, "允许放料"),
    _1010090(1010090L, "放料完成"),
    _1010100(1010100L, "失败"),
    _1010110(1010110L, "成功");

    OrderProcessStatusEnum(long code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private final long code;
    private final String msg;

    public long getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

}
